package com.cwd.arm.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cwd.arm.infrastructure.po.AuthPo;
import com.cwd.arm.infrastructure.query.AuthDaoQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/** 
 * Description:权限
 * Created on 2021年11月16日
 * @author  yan
 */
@Mapper
public interface AuthMapper extends BaseMapper<AuthPo>{

    List<AuthPo> selectByUserId(Long userId);

    List<AuthPo> selectByQuery(AuthDaoQuery authDaoQuery);

}
